﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Configuration;

namespace BDShop.Configuration
{
    public class BDShopConfigurationSection : ConfigurationSection
    {
        [ConfigurationProperty("Cache")]
        public CacheElement CacheElement
        {
            get { return (CacheElement)this["Cache"]; }
        }

        [ConfigurationProperty("Storage")]
        public StorageElement StorageElement
        {
            get { return (StorageElement)this["Storage"]; }
        }

        [ConfigurationProperty("Key")]
        public KeyElement KeyElement
        {
            get { return (KeyElement)this["Key"]; }
        }

        [ConfigurationProperty("Web")]
        public WebElement WebElement
        {
            get { return (WebElement)this["Web"]; }
        }
    }
}
